import http from "../../http.config.js"

const user = {
	login: (params: any) => http.post('/smsLogin', params),
	logout: () => http.post('/logout'),
	sendSms: (params: any) => http.get('/base/sms/send', params),
	getInfo: () => http.get('/base/userProfile/getInfo'),
	updateInfo: (params: any) => http.put('/base/userProfile/edit', params),
	addInfo: (params: any) => http.post('/base/userProfile/add', params),
	getVipInfo: () => http.get('/base/userVipInfo/getInfo'),
	destroy: () => http.get('/base/deletedUsers/destroy'),
	userReport: (params: any) => http.post('/base/userReport', params),
	loginV2: (params: any) => http.post('/smsLogin1', params),
	register: (params: any) => http.post('/appRegister1', params),
  getPayInfo: (params: any) => http.get('/wxPayV3/wxAppPay', params),
}

export default user;